//
//  NetworkAddress.h
//  iSee
//
//  Created by 刘琛 on 2017/11/23.
//  Copyright © 2017年 刘琛. All rights reserved.
//

#ifndef NetworkAddress_h
#define NetworkAddress_h

//访问域名
#define NMarketMainUrl         @"http://qxisee.zjtelecom.com.cn:9090/mcs/"

//具体地址
#define NoPasswordLogin                     @"home/mobile/login/loginWithOutPwd.action" //免密登录
#define QrCodeLogin                         @"newmarket/mobile/netLogin/bindCode.action" //二维码登陆
#define GetQrCodeCode                       @"newmarket/mobile/netLogin/putCode.action" //二维码code
#define GetNMarketHomeTopIndex              @"newmarket/mobile/user/getHomeTopIndex.action" //新版爱营销首页轮播接口
#define GetNMarketHomeHomeStatusAndLabel    @"newmarket/mobile/user/getHomeStatusAndLabel.action" //新版爱营销列表以及标题
#define GetFiftyMeterOrdor                  @"newmarket/mobile/fifty/getFiftyMeterOrderPage.action"//新版爱营销50米商机处理
#define GetTaskFromTaskPool                 @"newmarket/mobile/mybill/batchQdOrder.action"//抢单池抢单回调
#define GetOrderPageForTag                  @"newmarket/mobile/mybill/getOrderPageForLabel.action"  //任务单单子列表标签
#define GetOrderPage                        @"newmarket/mobile/mybill/getOrderPage.action"          //任务单单子列表
#define GetOrederTopSearchList              @"newmarket/mobile/mybill/getSearchList.action"         //获取任务单列表页顶部高级搜索
#define GetReceiveOrderParam                @"newmarket/mobile/mybill/getReceiveOrderParam.action"  //新版爱营销待接单卡单提示
#define GetOrderProjectListFromTag          @"newmarket/mobile/mybill/getProjectListForLabel.action" //新版爱营销任务单项目页标记入口
#define GetOrderProjectList                 @"newmarket/mobile/mybill/getProjectList.action" //工单列表
#define GetFiftyMeterOrdor                  @"newmarket/mobile/fifty/getFiftyMeterOrderPage.action" //新版爱营销50米商机处理
#define BatchOrderListAcceptAndReject       @"newmarket/mobile/mybill/batchReceiveOrder.action" //批量回单 接单
#define GetOrderTimeFilter                  @"newmarket/mobile/mybill/getTimeFilterCol.action" //新版爱营销时间筛选
#define BatchCannelOrder                    @"nmarket/mobile/mybill/batchRevokeOrder.action"   //批量撤单
#define RobOrderFromOrderPool               @"newmarket/mobile/mybill/batchQdOrder.action"  //抢单池抢单
#define GetOrderListFroLot                  @"/nmarket/mobile/mybill/getPcListByUser.action" //任务单批次筛选

#define GetHomeEnterStatus                  @"newmarket/mobile/user/getHomeEnterList.action" //九宫格列表

#define GetOrderProjectListNum              @"/newmarket/mobile/user/getHomeEnterTotal.action" //右侧列表条数

#define MarketHomeCustomer @"hmarket/web/custInfo/gotoFirstPageCustLit.json" //首页客户级视图接口

#define ISEE_URL_GET_HOMEENTER_LIST               @"newmarket/mobile/user/getHomeEnterList.action"
#define ISEE_URL_GET_HOMEENTER_LISTNUMBER               @"/newmarket/mobile/user/getHomeEnterTotal.action"

#define ZPHChuodongxinxi @"nmarket/mobile/mybill/getOrderInfosByYwhm.action"   //任务单详情查看业务号码业务

#define ZPNewMissionListDetailHeadList @"newmarket/mobile/mybill/getOrderLabelList.action"//新版爱营销任务单详情顶部按钮列表

#define ZPNewMissionListDetailChangeMark @"newmarket/mobile/mybill/changeOrderLabel.action"//新版爱营销任务单顶部按钮修改接口

#define ZPApproverList @"nmarket/mobile/mybill/queryApproveUserMobile.action" //黑名单审核人列表

#define ZPheimingdan @"nmarket/mobile/mybill/getSetBlackPhone.action" //加入黑名单

#define ZPHCOrderListtuihui @"newmarket/mobile/mybill/batchRefuseOrder.action"   //退回接口

#define ZPNewMissionListDetail @"newmarket/mobile/order/getTradeOrderInfo.action"//新版爱营销任务单详情

#define ZPHCOrderListqiangdanchiqiangdan @"newmarket/mobile/mybill/batchQdOrder.action"   //抢单池抢单回调

#define ZPHCOrderListqiangdanhuidiao @"nmarket/mobile/mybill/batchQdOrder.action"   //抢单回调

#define ZPHCZhuanpaichedan @"nmarket/mobile/mybill/batchRevokeOrder.action"   //批量撤单

#define ZPHCOrderListchongxinchuli @"nmarket/mobile/mybill/batchReprocessOrder.action"   //重新处理

#define ZPHCchangebeizhu @"nmarket/mobile/mybill/updateBzColumn.action"   //修改备注

#define ZPHCchangephonenumber @"nmarket/mobile/mybill/changeContactsTel.action"   //修改电话号码

#define ZPcallphone @"newmarket/mobile/mybill/addCallLog.action"//拨打电话号码记录

#define ZPHmessagenbody @"nmarket/mobile/mybill/getSmsMessage.action" //短信内容

#define ZPchaxun @"nmarket/mobile/mybill/getCallRealTimeSearch.action" //实时查询外呼接口

#define ZPHCWorkorderListkjiedan @"newmarket/mobile/mybill/batchReceiveOrder.action" //批量回单 接单

#define ZPChangeCompList @"nmarket/mobile/mybill/getChangeCompList.action" //获取以当前用户本级节点，本地网节点，常用联系人列表

#define ZPChangeUserList @"nmarket/mobile/mybill/getChangeUserList.action" //获取单位结点下的组织或用户

#define ZPgetUserListBySearch @"nmarket/mobile/mybill/getUserListByStr.action" //搜索单位结点下的组织或用户

#define ZPpaidan @"nmarket/mobile/mybill/sendOrderMobile.action" //派单接口

#define ZPReceiveAndTransfer @"newmarket/mobile/mybill/batchReceiveAndRedirectOrder.action" //新版爱营销批量接单并转派

#define ZPMissionReAssign @"newmarket/mobile/mybill/batchRedirectOrder.action" //任务单转派

#define ZPQuiteNote @"nmarket/mobile/mybill/getZpColsMobile.action" //快捷备注

#define ZPOrdorProcessDetail @"nmarket/mobile/mybill/getTradeDetailStatus.action" //新版本爱营销订单流程

#define ISEE_URL_GET_CANCEL_SALEORDER              @"nmarket/mobile/mybill/cancelSaleOrder.action" //取消销售单

#define ISEE_URL_GET_CANCEL_SJORDER              @"nmarket/mobile/sj/cancelSjOrder.action" //取消商机订单

#define ISEE_URL_GET_ASSEMBLECHARGURLFORMYBILL              @"nmarket/mobile/mybill/assembleChargeUrlForMybill.action"

#define ZPOrdorProcessList @"newmarket/mobile/order/getTradeList.action" //新版本爱营销订单列表

//宏定义
#define NMarketUserInfo     @"ISeeNewMarketUserInfo"
#define NMarketUserSession  @"ISeeNewMarketUserSession"
#define NMarketLoginStatus  @"NMarketLoginStatus"
/***  屏幕宽 */
#define kScreenWidth  [[UIScreen mainScreen] bounds].size.width
/***  屏幕高度 */
#define kScreenHeight  [[UIScreen mainScreen] bounds].size.height
/***  状态栏高度 */
#define Height_StatusBar ((IS_IPHONE_X==YES)?44.0f: 20.0f)
/***  导航栏高度 */
#define Height_NavBar (kNavBarHeight + kStatusBarHeight)

#define kStatusBarHeight ([[UIApplication sharedApplication] statusBarFrame].size.height)

#define kNavBarHeight self.navigationController.navigationBar.bounds.size.height

/***  底部安全域高度 */
#define kSafeAreaInsetsBottom (\
{\
double safeAreaInsetsBottom = 0;\
if (@available(iOS 11.0, *)) {\
safeAreaInsetsBottom = [[UIApplication sharedApplication] delegate].window.safeAreaInsets.bottom ;\
}\
(safeAreaInsetsBottom);}\
)

#define kFormat(string, args...)            [NSString stringWithFormat:string, args]

#endif /* NetworkAddress_h */
